It is used instead of the regular colon in some locales, for
example Chinese.
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5716
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2598>
if (question === 'Password:' || question === 'Password: ')
this.setQuestion(_('Password'));
else
- this.setQuestion(question.replace(/: *$/, '').trim());
+ this.setQuestion(question.replace(/[::] *$/, '').trim());
this.updateSensitivity(true);
this.emit('prompted');